home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / GDIDIB.PAK / README.TXT < prev    next >
Text File  |  1997-05-06  |  3KB  |  60 lines

  1. GDIDIB - Based on GDIPal
  2.  
  3. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  4. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  5. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  6. PARTICULAR PURPOSE.
  7.  
  8. Copyright (C) 1993 - 1995  Microsoft Corporation.  All Rights Reserved.
  9.  
  10.  
  11. PURPOSE:
  12.     Demonstrates the CreateDIBSection API.
  13.  
  14. USES:
  15.     Bitmap creation, editing, storage and retrieval.
  16.  
  17. COMMENTS:
  18.     This is a 32-bit only sample.
  19.  
  20.     Note that the dialog for selecting pen and brush colors will allow
  21.     the selection of colors not contained in the color table of the
  22.     DIBSection bitmap when the bitmap is in 1bpp or 4bpp format and the
  23.     display device supports more colors than are in the color table.
  24.     Objects painted with the pen or brush will initially appear in the
  25.     selected color, but when the image is refreshed from the bitmap in the
  26.     memory DC, the objects will assume colors in the bitmap's color table
  27.     that are mapped from the original colors using the nearest color
  28.     algorithm. These are the colors that are actually stored in the bitmap.
  29.  
  30.  
  31. MODULE MAP:
  32.     Dispatch- Message dispatching routines
  33.     WinMain - Calls initialization functions and processes the message loop
  34.     GDIDIB  - Implements the windows procedure for the main application window
  35.     Init    - Performs application and instance specific initialization
  36.     About   - Defines a standard about dialog box.
  37.     Misc    - Defines the applications specific commands not related to
  38.                 a specific module.
  39.     ToolBar - Creates the toolbar and processes ToolTips notifications.
  40.     StatBar - Creates and manages the status bar.
  41.     Client  - Implements the window procedure for a child window
  42.                 that displays either an initialized bitmap or one loaded
  43.                 from disk file, and performs all drawing on the bitmap.
  44.     PenDlg  - Dialog box for choosing the pen style used for drawing.
  45.     BrushDlg- Dialog box for choosing the brush style used for
  46.                 filling objects.
  47.     ColorDlg- Dialog box for choosing a color from the system palette
  48.                 when running GDIDIB on a palette-based device.
  49.     PalCtrl - Implements a custom control for displaying and selecting
  50.                 colors from the current system palette.
  51.     Palette - Implements palette manager-related routines such as
  52.                 handlers for palette messages.
  53.     InfoDlg - Dialog box for displaying some basic color and palette
  54.                 information regarding the display device.
  55.     DIBUtil - Contains various routines for manipulating DIBs.
  56.     FileDlg - Implements dialogs for File Save, Save As and Close.
  57.     FileIO  - Implements code for reading and writing DIB files.
  58.     FileNew - Implements code for creating a new DIB.
  59.  
  60.